home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
str2bmp
/
readme.doc
< prev
next >
Wrap
Text File
|
1993-06-13
|
2KB
|
32 lines
README FILE
-----------
STR2BMP.DLL v 1.0 (6-13-93)
---------------------------
STR2BMP.DLL contains a DLL called STR2BMP.DLL for converting VB bitmaps
into VB strings and vice versa. Also included are functions for inverting,
ANDing, ORing, and comparing bitmaps that have been converted to strings.
The source code for STR2BMP.DLL is included and may be modified as needed.
I. Instructions for demo.
A. Install all the files from STR2BMP.ZIP into a directory called C:\STR2BMP.
B. From VB/WIN, load the C:\STR2BMP\TEST.MAK program and execute it.
C. The code demonstrates converting bitmaps to strings, performing operations
on the strings, and converting the strings back into bitmaps.
II. Technical information.
A. The source code included was compiled using Borland C++ 3.1.
B. The maximum size bitmap that can be converted into a string using this DLL
is 32000 pixels.
C. To AND/OR two bitmaps, the bitmaps must be the same size.
D. Always remember to create a string large enough to hold the entire bitmap
before calling DLL functions that expect strings containing bitmaps. Otherwise
you may get a GPF. See sample code in TEST.FRM. The current DLL does
not check the size of the string before trying to fill it!!! An error will
be caused if you try to stuff too much bitmap into too small a string!!!
III. Questions or suggestions.
Please contact Jorge Monasterio at Compuserve 72147,2674 if you have
any questions or suggestions about this DLL.